package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialShop;
import com.hzf.material.dao.model.MaterialShopExample;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface MaterialShopMapper {
    long countByExample(MaterialShopExample example);

    int deleteByExample(MaterialShopExample example);

    int deleteByPrimaryKey(Integer shopId);

    int insert(MaterialShop record);

    int insertSelective(MaterialShop record);

    List<MaterialShop> selectByExample(MaterialShopExample example);

    MaterialShop selectByPrimaryKey(Integer shopId);

    int updateByExampleSelective(@Param("record") MaterialShop record, @Param("example") MaterialShopExample example);

    int updateByExample(@Param("record") MaterialShop record, @Param("example") MaterialShopExample example);

    int updateByPrimaryKeySelective(MaterialShop record);

    int updateByPrimaryKey(MaterialShop record);
}